package com.example.myfiveapplication;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class ItemDetailActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_item_detail);
        Intent intent= getIntent();
        String data = intent.getStringExtra("data");
        TextView textView = (TextView) findViewById(R.id.textview);
        textView.setText(data);
    }
}